: as she rose through the ranks at google she never publicly shied away of setting a technology. >> i think women need role models and inspiration. >> reporter: talking about google's maternity leave policy. >> a baby of a googler should have their parent at home for six weeks or three months and it should be standard from that child's point of view and i think that means that, ultimately, a really supportive environment for women, but it doesn't necessarily mean special environment. >> reporter: yahoo! hired mayer as a its ceo in july knowing she was pregnant. mayer plans to be back in the office within one or two weeks. that, too, is generating flap. >> we should be sending the message that women need more maternity leave and better benefits and need more time. they need a workplace that understands that this is a period of time that women need to be with a baby. >> reporter: all this criticism could make the corner office look real good to mayer. >> mommies are hard on each other. mommies are very tough. a lot of criticism probably for everything she does, while being a mommy. >> yahoo!